import React, {
    Component,
} from 'react'
import { connect } from 'react-redux';
import { View, Text, Image, StyleSheet } from 'react-native'
import { Px } from '../utils'
import { AssetImages} from '../constants';

class WhitePage extends Component {

    static propTypes = {

    };

    // 生命周期
    constructor(props) {
        super(props)
        this.state = {

        }
    }

    // render part
    render() {
        return (
            <View style={{ flex: 1, alignItems: 'center', justifyContent: 'center' }}>
                <Image
                    style={{ width: Px(200), height: Px(200), resizeMode: 'contain'}}
                    source={AssetImages.NO_MORE}
                />
                <Text style={{ marginTop: Px(30)}}>暂无数据~</Text>
            </View>
        )
    }
}

const styles = StyleSheet.create({

})

export default connect(state => ({

})
)(WhitePage)